﻿using Shake.Domain.Emuns;
using Shake.Domain.Infrastructures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Domain.Models
{
    /// <summary>
    /// 证件
    /// </summary>
    public class Certificate : ShakeEntity
    {
        public virtual string Id { get; set; }

        public virtual CertificateType Type { get; set; }

        public virtual string Number { get; set; }

        public virtual DateTime ValidityStartTime { get; set; }

        public virtual DateTime ValidityEndTime { get; set; }

        /// <summary>
        /// 其他证件
        /// </summary>
        public virtual string Other { get; set; }

        public virtual string UserId { get; set; }
    }
}
